Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace logic for eth swap token in fetchQuotesAndSetQuoteState with getSwapsEthToken() #10624

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

danjm
Copy link
Contributor

@danjm danjm commented Mar 10, 2021

The logic to get an ETH "token" object, with balance and string properties added, in the fetchQuotesAndSetQuoteState function, is a copy of the logic in getSwapsEthToken. This PR eliminates the redundancy/duplication of code.

@danjm danjm requested a review from a team as a code owner March 10, 2021 19:16
@github-actions
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@danjm danjm merged commit 9339278 into develop Mar 10, 2021
@danjm danjm deleted the use-getSwapsEthToken-in-swap-duck branch March 10, 2021 19:43
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants